﻿<%@ Page Language="C#" AutoEventWireup="true" CodeBehind="add_column.aspx.cs" Inherits="qf_cms.admin.add_column" %>

<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<html xmlns="http://www.w3.org/1999/xhtml">
<head runat="server">
	<title>添加/编辑栏目</title>
	<link href="../styles/Site.css" rel="stylesheet" type="text/css" />
	<script src="../scripts/jquery-1.5.1.min.js" type="text/javascript"></script>
	<script type="text/javascript">
		function doRefresh() {
			window.parent.refreshNav();
			window.location.reload();
		}
		function doSave() {
			if ($("#ColumnName").val() == "") {
				alert("栏目名称不能为空");
				return;
			}
			form1.submit();
		}
		function doCancel() {
			window.location = "columnGeneral.aspx?id=<%=pid %>";
		}
	</script>
</head>
<body>
<div class="editFormTitle">添加/编辑栏目</div>
	<form id="form1" runat="server">
	<table>
		<tr>
			<td>
				名称
			</td>
			<td>
				<input type="text" id="ColumnName" name="ColumnName" value="<%=colName %>" />
			</td>
		</tr>
		<tr>
			<td>
				
			</td>
			<td>
				<input type="button" value=" 保存 " onclick="doSave()" /><span style="color:#ff0000;"><%=tip%></span>&nbsp;&nbsp;<input type="button" value=" 取消 " onclick="doCancel()" />
			</td>
		</tr>
	</table>
	</form>
</body>
</html>
